const { default: styled } = require("styled-components");

const PlaylistWarrper = styled.div`
.songItem:hover .icons{
  display: flex;
}
  margin: 10px 30px;
  span{
    margin: 0;
    padding: 0;
  }
  .mv{
    padding: 0px 5px;
    /* border: 1px solid rgb(145,145,146); */
    border-radius: 10px;
    font-size: 8px;
    color: rgb(145,145,146);
    margin-left: 10px;
    cursor: pointer;
    &:hover{
      border-color: red;
      color: red;
    }
  }

  .header {
    display: flex;
    .btns{
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }
    .info{
      flex: 1;
    
    }
    .img {
      img {
        width: 250px;
        height: 250px;
        border-radius: 10px;
      }
    }
    .info {
      flex: 1;
      font-size: 30px;
      margin-left: 30px;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      min-width: 0;
      .title {
        font-weight: 600;
        font-size: 40px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        /* width: 55vw; */
      }
      .creator {
        display: flex;
        align-items: center;
        .user {
          display: flex;
          align-items: center;
          font-size: 15px;
          img {
            width: 30px;
            height: 30px;
            border-radius: 440%;
            vertical-align: middle;
          }
        }
        .tags {
          margin-left: 10px;
          font-size: 15px;
          color: rgb(144, 144, 144);
        }
      }
      .msg {
        font-size: 16px;
        color: rgb(144, 144, 144);
        /* width: 50vw; */
        text-overflow: -o-ellipsis-lastline;
        overflow: hidden; //溢出内容隐藏
        text-overflow: ellipsis; //文本溢出部分用省略号表示
        display: -webkit-box; //特别显示模式
        -webkit-line-clamp: 2; //行数
        min-width: 0;
        line-clamp: 2;
        -webkit-box-orient: vertical; //盒子中内容竖直排列
      }
      .btn {
        .btnAll {
          padding: 5px 20px;
          border-radius: 20px;
          background-color: rgb(31, 209, 165);
          display: inline-block;
          color: white;
          font-size: 15px;
        }
      }
    }
  }
`;

export default PlaylistWarrper;
